package com.yunc.modules.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunc.modules.shop.entity.Shop;
import org.springframework.cache.annotation.Cacheable;

public interface IShopService extends IService<Shop> {

    @Cacheable(value = "shop-user", key = "#userId")
    Shop getByUserId(String userId);
}
